cmake_minimum_required(VERSION 3.7)
project(suoha)

set(CMAKE_CXX_STANDARD 11)
include_directories(.)
include_directories(co)
include_directories(thread)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -pthread" )
set (SOURCE_FILES
        main.cpp
        worker.h
        co/co_task.cpp
        co/co_task.h
        co/coroutine.cpp
        co/coroutine.h
        thread/double_queue.h
        thread/thread_group.h
        )
add_executable(suoha ${SOURCE_FILES})